package com.welike.shibo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.welike.shibo.eneity.Admin;
import com.welike.shibo.vo.IndexDataVO;

/**
 * Created by fangyu on 2019-08-18.
 */
public interface AdminService extends IService<Admin> {

    /**
     * 用户登录
     * @param username  用户名
     * @param password  密码
     * @return
     */
    Admin login(String username, String password) throws Exception;

    // 查询首页数据
    IndexDataVO queryIndexData();

}
